package com.qf.day10;

public class ObjectDemo {
    public static void main(String[] args) {
        Dog xiaohuang = new Dog("小黄","中华田园犬",2);
        Dog xiaohuang1 = new Dog("小黄","中华田园犬",2);
        Dog aosika = new Dog("奥斯卡","哈士奇",3);
        Dog aosika1 = new Dog("奥斯卡","哈士奇",3);
        System.out.println(xiaohuang.equals(xiaohuang1));
        System.out.println(aosika.equals(aosika1));
    }
}
